#ifndef _ENTRY_PANEL_H
#define _ENTRY_PANEL_H

#ifndef DEFAULT_PANEL_LABEL
  #define DEFAULT_PANEL_LABEL ""
#endif

#include "wx/wxprec.h"
#ifndef WX_PRECOMP
  #include "wx/wx.h"
#endif

#include "PreprocessorDefines.h"

// Provides a panel with surrounding static box,
//   1-row, 2-column panel in the following format:
//  ___________________________
// | ItemName  | ItemTextCtrl |
// | __________|______________|

class EntryPanel : public wxPanel
{
  public:
    EntryPanel(wxWindow* parent,
               wxString  panelLabel,
               int       value,
               bool      drawBox);
    ~EntryPanel();
    DECLARE_EVENT_TABLE()

  private:
    wxBoxSizer       *m_pHorizBoxSizer;
    wxStaticText     *m_pPanelLabel;
    wxTextCtrl       *m_pTextCtrl;
    wxStaticBoxSizer *m_pStaticBoxSizer;
    wxStaticBox      *m_pStaticBox;
    int               m_pValue;
};

#endif // _ENTRY_PANEL_H
